#include <cstdlib>
#include <iostream>

using namespace std;

int main(int argc, char *argv[])
{
    int lista_arr[5]={10,20,30,40,50};
    int * pdd;
    pdd=lista_arr;
    int aux=lista_arr[1];
    cout<<aux<<endl;
    aux=pdd[0];
    aux=*lista_arr;
    cout<<aux<<endl;
    aux=*pdd;
    cout<<aux<<endl;
    cout<<pdd<<endl;
    aux=++(*pdd);
    cout<<aux<<endl;
    aux=(*pdd)++;
    cout<<aux<<endl;
    aux=*(pdd++);
    pdd=lista_arr;
    cout<<aux<<endl;
    aux=*(++pdd);
    pdd=lista_arr;
    cout<<aux<<endl;
    aux=lista_arr[3];
    cout<<aux<<endl;
    pdd=lista_arr;
    cout<<pdd[3]<<endl;
    system("PAUSE");
    return EXIT_SUCCESS;
}
